package com.example.demo.entity;


import java.time.temporal.Temporal;
import java.sql.Date;

public class emp {
    private Integer empno;
    private String job;
    private String ename;
    private Integer mgr;
    private Date hiredate;
    private java.math.BigDecimal sal;
    private java.math.BigDecimal comm;
    private Integer deptno;

    public void setEmpno(Integer empno){this.empno = empno;}

    public Integer getEmpno(){return this.empno;}

    public void setEname(String ename){this.ename = ename;}

    public String getEname(){return this.ename;}

    public void setJob(String job){this.job = job;}

    public String getJob(){return this.job;}

    public void setMgr(Integer mgr){this.mgr = mgr;}

    public Integer getMgr(){return this.mgr;}

    public void setHiredate(Date hiredate){this.hiredate = hiredate;}

    public Date getHiredate(){return this.hiredate;}

    public void setSal(java.math.BigDecimal sal){this.sal = sal;}

    public java.math.BigDecimal getSal(){return this.sal;}

    public void setComm(java.math.BigDecimal comm){this.comm = comm;}

    public java.math.BigDecimal getComm(){return this.comm;}

    public void setDeptno(Integer deptno){this.deptno = deptno;}

    public Integer getDeptno(){return this.deptno;}

    public emp() {
        super();
        // TODO Auto-generated constructor stub
    }

    public emp( Integer empno,String job,String ename,Integer mgr,Date hiredate,
                java.math.BigDecimal sal,java.math.BigDecimal comm,
                Integer deptno) {
        super();
        this.empno = empno;
        this.ename = ename;
        this.job = job;
        this.mgr = mgr;
        this.hiredate = hiredate;
        this.sal = sal;
        this.comm = comm;
        this.deptno = deptno;
    }

    @Override
    public String toString() {
        return "emp{" +
                "empno='" + empno + '\'' +
                "ename='" + ename + '\'' +
                "job='" + job + '\'' +
                "mgr='" + mgr + '\'' +
                "hiredate='" + hiredate + '\'' +
                "sal='" + sal + '\'' +
                "comm='" + comm + '\'' +
                "deptno='" + deptno + '\'' +
                '}';
    }


}
